package com.gss.armory.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="DEPARTMENT_DETAILS")
public class DepartmentDetailsDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8398308608849868710L;
	private Long ddId;
	private String ddName;
	private String ddCode;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="DD_ID")
	public Long getDdId() {
		return ddId;
	}
	@Column(name="DD_NAME",length=101,nullable=false)
	public String getDdName() {
		return ddName;
	}
	@Column(name="DD_CODE",length=20,nullable=false)
	public String getDdCode() {
		return ddCode;
	}
	
	public void setDdId(Long ddId) {
		this.ddId = ddId;
	}
	public void setDdName(String ddName) {
		this.ddName = ddName;
	}
	public void setDdCode(String ddCode) {
		this.ddCode = ddCode;
	}

}
